.jcrop-holder {
  direction: ltr;
  text-align: left;
}


/* Selection Border */

.jcrop-vline, .jcrop-hline {
  background: #ffffff url("./img/Jcrop.gif");
  font-size: 0;
  position: absolute;
}

.jcrop-vline {
  height: 100%;
  width: 1px !important;
}

.jcrop-vline.right {
  right: 0;
}

.jcrop-hline {
  height: 1px !important;
  width: 100%;
}

.jcrop-hline.bottom {
  bottom: 0;
}

.jcrop-hline.middle {
  top: 50%;
}

.jcrop-vline.middle {
  left: 50%;
}


/* Invisible click targets */

.jcrop-tracker {
  height: 100%;
  width: 100%;
  /* "turn off" link highlight */
  -webkit-tap-highlight-color: transparent;
  /* disable callout, image save panel */
  -webkit-touch-callout: none;
  /* disable cut copy paste */
  -webkit-user-select: none;
  border-radius: 3px;
}


/* Selection Handles */

.jcrop-handle {
  background-color: #333333;
  border: 1px #eeeeee solid;
  width: 7px;
  height: 7px;
  font-size: 1px;
}

.jcrop-handle.ord-n {
  left: 50%;
  margin-left: -4px;
  margin-top: -4px;
  top: 0;
}

.jcrop-handle.ord-s {
  bottom: 0;
  left: 50%;
  margin-bottom: -4px;
  margin-left: -4px;
}

.jcrop-handle.ord-e {
  margin-right: -4px;
  margin-top: -4px;
  right: 0;
  top: 50%;
}

.jcrop-handle.ord-w {
  left: 0;
  margin-left: -4px;
  margin-top: -4px;
  top: 50%;
}

.jcrop-handle.ord-nw {
  left: 0;
  margin-left: -4px;
  margin-top: -4px;
  top: 0;
}

.jcrop-handle.ord-ne {
  margin-right: -4px;
  margin-top: -4px;
  right: 0;
  top: 0;
}

.jcrop-handle.ord-se {
  bottom: 0;
  margin-bottom: -4px;
  margin-right: -4px;
  right: 0;
}

.jcrop-handle.ord-sw {
  bottom: 0;
  left: 0;
  margin-bottom: -4px;
  margin-left: -4px;
}


/* Dragbars */

.jcrop-dragbar.ord-n, .jcrop-dragbar.ord-s {
  height: 7px;
  width: 100%;
}

.jcrop-dragbar.ord-e, .jcrop-dragbar.ord-w {
  height: 100%;
  width: 7px;
}

.jcrop-dragbar.ord-n {
  margin-top: -4px;
}

.jcrop-dragbar.ord-s {
  bottom: 0;
  margin-bottom: -4px;
}

.jcrop-dragbar.ord-e {
  margin-right: -4px;
  right: 0;
}

.jcrop-dragbar.ord-w {
  margin-left: -4px;
}


/* The "jcrop-light" class/extension */

.jcrop-light .jcrop-vline, .jcrop-light .jcrop-hline {
  background: #ffffff;
  filter: alpha(opacity=70) !important;
  opacity: .70!important;
}

.jcrop-light .jcrop-handle {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color: #000000;
  border-color: #ffffff;
  border-radius: 3px;
}


/* The "jcrop-dark" class/extension */

.jcrop-dark .jcrop-vline, .jcrop-dark .jcrop-hline {
  background: #000000;
  filter: alpha(opacity=70) !important;
  opacity: 0.7 !important;
}

.jcrop-dark .jcrop-handle {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color: #ffffff;
  border-color: #000000;
  border-radius: 3px;
}


/* Simple macro to turn off the antlines */

.solid-line .jcrop-vline, .solid-line .jcrop-hline {
  background: #ffffff;
}


/* Fix for twitter bootstrap et al. */

.jcrop-holder img, img.jcrop-preview {
  max-width: none;
}

.rectangle {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  padding-top: 2px;
  /*filter: alpha(opacity=50);
            opacity: 0.9;*/
}

.circle {
  width: 196px;
  height: 196px;
  top: 0px;
  position: absolute;
  border-radius: 100%;
  cursor: move;
  filter: alpha(opacity=100);
  opacity: 0.2;
  background: #FFF;
  font-size: 0px;
  z-index: 99999;
}

#viewrect-pane {
  display: block;
  z-index: 2000;
  top: 30px;
  padding: 3px;
  border: 1px #dbddde solid;
  background-color: white;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

#viewcircle-pane {
  height: 108px;
  width: 108px;
  z-index: 2000;
  padding: 3px;
  border: 1px #dbddde solid;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  overflow: hidden;
}

#viewrect-pane .viewrect-container {
  width: 220px;
  height: 100px;
  overflow: hidden;
}

#viewcircle-pane .viewcircle-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.clearfix {
  *zoom: 1;
}

.clearfix:before, .clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}

.clearfix:after {
  clear: both;
}

.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


/* JCROP DEMOS CSS */

li small {
  color: #f07878;
}

.inline-labels label {
  display: inline;
}

div#interface.span3 fieldset {
  margin-bottom: 1.5em;
}

div#interface.span3 fieldset legend {
  margin-bottom: 2px;
  padding-bottom: 2px;
  line-height: 1.2;
}

.article h1 {
  color: #333;
  margin-top: .2em;
}

.jc-demo {
  text-align: center;
}

.jcropper-holder {
  border: 1px #bbb solid;
}

.jc-demo-box {
  text-align: left;
  margin: 2em auto;
  background: white;
  border: 1px #bbb solid;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 1em 2em 2em;
}

form {
  margin: 1.5em 0;
}

form.coords label {
  margin-right: 1em;
  font-weight: bold;
  color: #900;
}

form.coords input {
  width: 3em;
}

.ui-widget-overlay {
  opacity: 0.80;
  filter: alpha(opacity=70);
}

.jc-dialog {
  padding-top: 1em;
}

.ui-dialog p tt {
  color: yellow;
}

.jcrop-light .jcrop-selection {
  -moz-box-shadow: 0px 0px 15px #999;
  /* Firefox */
  -webkit-box-shadow: 0px 0px 15px #999;
  /* Safari, Chrome */
  box-shadow: 0px 0px 15px #999;
  /* CSS3 */
}

.jcrop-dark .jcrop-selection {
  -moz-box-shadow: 0px 0px 15px #000;
  /* Firefox */
  -webkit-box-shadow: 0px 0px 15px #000;
  /* Safari, Chrome */
  box-shadow: 0px 0px 15px #000;
  /* CSS3 */
}

.jcrop-fancy .jcrop-handle.ord-e {
  -webkit-border-top-left-radius: 0px;
  -webkit-border-bottom-left-radius: 0px;
}

.jcrop-fancy .jcrop-handle.ord-w {
  -webkit-border-top-right-radius: 0px;
  -webkit-border-bottom-right-radius: 0px;
}

.jcrop-fancy .jcrop-handle.ord-nw {
  -webkit-border-bottom-right-radius: 0px;
}

.jcrop-fancy .jcrop-handle.ord-ne {
  -webkit-border-bottom-left-radius: 0px;
}

.jcrop-fancy .jcrop-handle.ord-sw {
  -webkit-border-top-right-radius: 0px;
}

.jcrop-fancy .jcrop-handle.ord-se {
  -webkit-border-top-left-radius: 0px;
}

.jcrop-fancy .jcrop-handle.ord-s {
  -webkit-border-top-left-radius: 0px;
  -webkit-border-top-right-radius: 0px;
}

.jcrop-fancy .jcrop-handle.ord-n {
  -webkit-border-bottom-left-radius: 0px;
  -webkit-border-bottom-right-radius: 0px;
}

.description {
  margin: 16px 0;
}

.jcrop-droptarget canvas {
  background-color: #f0f0f0;
}
